package com.develop.archives.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.develop.archives.dao.ElevatorDao;
import com.develop.archives.domain.ElevatorDO;
import com.develop.archives.service.ElevatorService;



@Service
public class ElevatorServiceImpl implements ElevatorService {
	@Autowired
	private ElevatorDao elevatorDao;
	
	@Override
	public ElevatorDO get(String elevatorid){
		return elevatorDao.get(elevatorid);
	}
	
	@Override
	public List<ElevatorDO> list(Map<String, Object> map){
		return elevatorDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return elevatorDao.count(map);
	}
	
	@Override
	public int save(ElevatorDO elevator){
		return elevatorDao.save(elevator);
	}
	
	@Override
	public int update(ElevatorDO elevator){
		return elevatorDao.update(elevator);
	}
	
	@Override
	public int remove(String elevatorid){
		return elevatorDao.remove(elevatorid);
	}
	
	@Override
	public int batchRemove(String[] elevatorids){
		return elevatorDao.batchRemove(elevatorids);
	}
	
}
